package chapter3;

public class Chapter3a {

	
	public static void main(String[] args){
		int x =23232323;
		int z = x/(int)(Math.pow(2,4));
		//z = 2^4;
		int y = x>>4;
		System.out.println("Original value:"+x+" Value of y:"+y);
		System.out.println("Original value:"+x+" Value of z:"+z);
		int a =113;
		int b = a/(int)(Math.pow(2,4));
		int c = a>>4;
		System.out.println("String value of original "+x+":"+ Integer.toBinaryString(x));
		System.out.println("Original value:"+a+" Value of b:"+b);
		System.out.println("Original value:"+a+" Value of c:"+c);
	}
}
